package com.wanpinghui.wphlibrary.model.addrbook.bean;

import java.io.Serializable;

/**
 * Created by tg596 on 2018/1/9.
 */

public class MoblieBean implements Serializable {

    /**
     "user_id": null,     // 为空时可以进行邀请(与follower_id一样)
     "shared_friends_count": 0,  // 共同好友数量
     "com": "",                  // 公司
     "mobile": "15603053210",    // 电话
     "nickname": "",             // 姓名
     "avatar": "",               // 头像
     "followed_id": null,        // 号码对应的用户id
     "follower_id": 3316549      // 用户自己的id
     "status_display": "已添加", // 添加状态
     "status": 30               // 状态值 10 已邀请 20 等待认证 30 已添加
     "state": 10                //   通讯录列表： 10 可邀请 20 可添加好友  30 显示状态
     "is_followed": false      // true 被添加（等待验证的状态时显示通过验证按钮）  false 添加别人
     */

    private long user_id;
    private int shared_friends_count;
    private String com;
    private String mobile;
    private String nickname;
    private String avatar;
    private String followed_id;
    private long follower_id;
    private String status_display;
    private int status;
    private int state;
    private long id_;
    private boolean is_followed;

    public MoblieBean( ) {

    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof  MoblieBean){
            MoblieBean moblieBean = (MoblieBean) o;
            return  this.mobile.equals(moblieBean.mobile);
        }
        return super.equals(o);
    }

    public long getUser_id() {
        return user_id;
    }

    public void setUser_id(long user_id) {
        this.user_id = user_id;
    }

    public int getShared_friends_count() {
        return shared_friends_count;
    }

    public void setShared_friends_count(int shared_friends_count) {
        this.shared_friends_count = shared_friends_count;
    }

    public String getCom() {
        return com;
    }

    public void setCom(String com) {
        this.com = com;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getFollowed_id() {
        return followed_id;
    }

    public void setFollowed_id(String followed_id) {
        this.followed_id = followed_id;
    }

    public long getFollower_id() {
        return follower_id;
    }

    public void setFollower_id(long follower_id) {
        this.follower_id = follower_id;
    }

    public String getStatus_display() {
        return status_display;
    }

    public int getStatus() {
        return status;
    }

    public int getState() {
        return state;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setState(int state) {
        this.state = state;
    }

    public void setStatus_display(String status_display) {
        this.status_display = status_display;
    }


    public boolean isIs_followed() {
        return is_followed;
    }

    public void setIs_followed(boolean is_followed) {
        this.is_followed = is_followed;
    }

    public long getId_() {
        return id_;
    }

    public void setId_(long id_) {
        this.id_ = id_;
    }
}
